package com.suning.sawp.po.bi;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * 接收数据中台卡夫卡数据<br>
 * 〈功能详细描述〉
 * 
 * @author 12061818
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class BiKafkaRealTimeSale implements Serializable {
    /**
     */
    private static final long serialVersionUID = 8665308937022656343L;

    /**
     * 统计维度
     */
    private String statisFlag;
    /**
     * 品类编码
     */
    private String categoryCode;
    /**
     * 销售金额
     */
    private BigDecimal saleAmount;
    /**
     * 销售数量
     */
    private Integer saleVolume;
    /**
     * 统计日期
     */
    private String statisDate;
    /**
     * 门店编码
     */
    private String storeCode;
    /**
     * 记录更新时间
     */
    private Date updateTime;

    public String getStatisFlag() {
        return statisFlag;
    }

    public void setStatisFlag(String statisFlag) {
        this.statisFlag = statisFlag;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public BigDecimal getSaleAmount() {
        return saleAmount;
    }

    public void setSaleAmount(BigDecimal saleAmount) {
        this.saleAmount = saleAmount;
    }

    public Integer getSaleVolume() {
        return saleVolume;
    }

    public void setSaleVolume(Integer saleVolume) {
        this.saleVolume = saleVolume;
    }

    public String getStatisDate() {
        return statisDate;
    }

    public void setStatisDate(String statisDate) {
        this.statisDate = statisDate;
    }

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "BiKafkaRealTimeSale [statisFlag=" + statisFlag + ", categoryCode=" + categoryCode + ", saleAmount="
                + saleAmount + ", saleVolume=" + saleVolume + ", statisDate=" + statisDate + ", storeCode=" + storeCode
                + ", updateTime=" + updateTime + "]";
    }

    public interface Attributes {
        String CATE_CODE = "categoryCode";
        String SALE_AMOUNT = "saleAmount";
        String SALE_VOLUME = "saleVolume";
        String STATIS_DATE = "statisDate";
        String STORE_CODE = "storeCode";
        String UPDATE_TIME = "updateTime";
    }

    /**
     * 
     * 实时统计维度规则<br>
     * 〈功能详细描述〉 SNSAWP_字母+三位编码 A-销售统计
     * 
     * @author 12061818
     * @see [相关类/方法]（可选）
     * @since [产品/模块版本] （可选）
     */
    public interface StatisFlag {
        /**
         * 门店品类销售
         */
        String STOTE_CATE_SALE = "snsawp_A001";
        /**
         * 门店销售
         */
        String STOTE_SALE = "snsawp_A002";
        /**
         * 门店品类品牌销售
         */
        String STOTE_BRAND_SALE = "snsawp_A003";
        
        /**
         *门店延保品类销售
         */
        String STORE_YB_CATE_SALE = "snsawp_A006";
        
        /**
         *门店延保人员销售
         */
        String STORE_YB_STAFF_SALE = "snsawp_A005";
    }
}
